
import * as types from '../action/ActionTypes';
import CreateReducer from '../../../base/reducers/CreateReducer'; 
import Immutable from "immutable";

var map = Immutable.Map({list:[]});

const TestModel = CreateReducer(map,{  
    [types.GET_LIST](state, action){  
    	var tm=state.set("list",action.list);
        return tm;
    }
});
module.exports=TestModel;